package com.mgg.auth.enums;

/**
 *
 */
public enum AuthResultEnum {

    //登录模块
    PHONE_SMSCODE_VERIF_ERROR("101","手机验证码错误"),
    PHONE_SMSCODE_NUM_ERROR("102","手机验证码24小时发送次数达到上限"),
    PHONE_SMSCODE_SEND_TIME_ERROR("103","手机验证码已发送，请稍等"),
    SMSCODE_PHONE_NONE_ERROR("104","手机号不能为空"),
    SMSCODE_NONE_ERROR("105","手机验证码不能为空"),
    SMSCODE_NOT_EXIST_ERROR("106","手机验证码不存在"),
    SMSCODE_EXPIRE_ERROR("107","手机验证码已过期"),
    SMSCODE_MATCH_ERROR("108","手机验证码不匹配"),
    SMSCODE_GET_ERROR("109","获取手机验证码失败"),
    USER_NOT_SINGUP("110","请绑定手机号"),
    USER_LOAD_ERROR("112","用户查询失败"),
    SMSCODE_PHONE_CHECK_ERROR("111","手机号错误"),
    ;

	private String code;

    private String message;
    
    public String getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}

    AuthResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
